.class Lcom/netease/newsreader/activity/MyCommentsActivity$3;
.super Ljava/lang/Object;
.source "MyCommentsActivity.java"

# interfaces
.implements Lcom/netease/newsreader/view/MyTabWidget$AnimationViewCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/MyCommentsActivity;->init()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/MyCommentsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$3;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    .line 68
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public createAnimation(II)Landroid/view/animation/Animation;
    .locals 9
    .parameter "current"
    .parameter "last"

    .prologue
    const/4 v4, 0x0

    const/4 v1, 0x1

    .line 81
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    .line 82
    sub-int v2, p2, p1

    int-to-float v2, v2

    move v3, v1

    move v5, v1

    move v6, v4

    move v7, v1

    move v8, v4

    .line 81
    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 84
    .local v0, animation:Landroid/view/animation/TranslateAnimation;
    const-wide/16 v1, 0xc8

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 85
    iget-object v1, p0, Lcom/netease/newsreader/activity/MyCommentsActivity$3;->this$0:Lcom/netease/newsreader/activity/MyCommentsActivity;

    const v2, 0x10a0004

    invoke-virtual {v0, v1, v2}, Landroid/view/animation/TranslateAnimation;->setInterpolator(Landroid/content/Context;I)V

    .line 86
    return-object v0
.end method

.method public onPrepareMeasure(Landroid/view/View;Landroid/view/View;)V
    .locals 3
    .parameter "currentTabView"
    .parameter "animationView"

    .prologue
    .line 73
    const v2, 0x7f0c005e

    invoke-virtual {p2, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 74
    .local v0, indicatorBgView:Landroid/view/View;
    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    .line 75
    .local v1, lp:Landroid/view/ViewGroup$LayoutParams;
    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result v2

    iput v2, v1, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 76
    invoke-virtual {v0}, Landroid/view/View;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v2}, Landroid/graphics/drawable/Drawable;->getIntrinsicHeight()I

    move-result v2

    iput v2, v1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 77
    return-void
.end method
